package nc.tb.bccsaction;

import java.io.Serializable;

import nc.tb.cube.DimVector;
import nc.tb.cube.cell.DataCell;
import nc.tb.pub.DataType;
import nc.tb.pub.INeedInstance;
import nc.tb.pub.exception.NtbRException;
import nc.tb.pub.util.NtbLogger;
import nc.vo.pub.BusinessException;
import nc.vo.pub.lang.UFDouble;

public class EntryData extends DataCell implements INeedInstance, Cloneable, Serializable {
	private String m_pk_obj;

	private String m_action;

	private String m_pk_entry;

	private String m_pk_csaction;

	private String m_pk_eli_temp;

	private String m_pk_eli_temp_m;

	private Integer m_direction;

	private String m_description;

	private DimVector dimVector = null;

	private String m_code_cube;

	private UFDouble m_value;

	private Integer m_type;

	public void instance() throws BusinessException {
	}

	public String getPrimaryKey() {
		return m_pk_obj;
	}

	public void setPrimaryKey(String pk_obj) {
		m_pk_obj = pk_obj;
	}

	public UFDouble getValue() {
		return m_value;
	}

	public void setValue(UFDouble value) {
		m_value = value;
	}

	public String getCode_cube() {
		return m_code_cube;
	}

	public void setCode_cube(String code_cube) {
		m_code_cube = code_cube;
	}

	public String getDescription() {
		return m_description;
	}

	public void setDescription(String description) {
		m_description = description;
	}

	public String getAction() {
		return m_action;
	}

	public void setAction(String action) {
		m_action = action;
	}

	public String getPk_entry() {
		return m_pk_entry;
	}

	public void setPk_entry(String pk_entry) {
		m_pk_entry = pk_entry;
	}

	public String getPk_csation() {
		return m_pk_csaction;
	}

	public void setPk_csaction(String pk_csaction) {
		m_pk_csaction = pk_csaction;
	}

	public String getPk_eli_temp() {
		return m_pk_eli_temp;
	}

	public void setPk_eli_temp(String pk_eli_temp) {
		m_pk_eli_temp = pk_eli_temp;
	}

	public String getPk_eli_temp_m() {
		return m_pk_eli_temp_m;
	}

	public void setPk_eli_temp_m(String pk_eli_temp_m) {
		m_pk_eli_temp_m = pk_eli_temp_m;
	}

	public Integer getDirection() {
		return m_direction;
	}

	public void setDirection(Integer direction) {
		m_direction = direction;
	}

	public Integer getType() {
		return m_type;
	}

	public void setType(Integer type) {
		m_type = type;
	}

	public DimVector getDimVector() {
		return dimVector;
	}

	public void setDimVector(DimVector dv) {
		dimVector = dv;
	}

	public Object clone() {
		DataCell ic = null;
		ic = (DataCell) super.clone();
		if (getDimVector() != null)
			ic.setDimVector((DimVector) getDimVector().clone());
		if (getCellDataType() != null)
			ic.setCellDataType((DataType) getCellDataType().clone());
		return ic;
	}
}
